package com.szcinda.call;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(
        scanBasePackages = {"com.szcinda.call"}
)
@EnableJpaRepositories(basePackages = "com.szcinda.call.repository")
@EntityScan(basePackages = "com.szcinda.call.repository")
@EnableScheduling
public class CallApplication {
    public CallApplication() {
    }

    public static void main(String[] args) {
        SpringApplication.run(CallApplication.class, args);
    }
}
